//
//  Global.swift
//  BYLM
//
//  Created by lile on 15/8/22.
//  Copyright (c) 2015年 Gears Software. All rights reserved.
//

import Foundation
import UIKit

/**
*   用于转换RGB
*/
func RGBA (r:CGFloat, g:CGFloat, b:CGFloat, a:CGFloat)->UIColor {
    return UIColor(red: r/255.0, green: g/255.0, blue: b/255.0, alpha: a)
}